/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved.
 */
package com.icinfo.cloud.provider.punish.fastcase.item.service;

import com.icinfo.cloud.provider.punish.item.model.SearchRecord;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 描述: 事项搜索记录表 search_record 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年11月30日
 */
public interface ISearchRecordService extends BaseService {

    /**
     * 新增搜索记录
     *
     * @param searchRecord 搜索记录参数实体
     * @return java.lang.Boolean
     * @author liuyongfei
     * @date 2022/11/30
     */
    Boolean saveSearchRecord(SearchRecord searchRecord);

    /**
     * 删除当前用户的搜索记录
     *
     * @return java.lang.Boolean
     * @author liuyongfei
     * @date 2022/11/30
     */
    Boolean deleteSearchRecord();

    /**
     * 获取当前用户的搜索记录
     *
     * @return java.util.List<com.icinfo.cloud.provider.item.model.SearchRecord>
     * @author liuyongfei
     * @date 2022/11/30
     */
    List<SearchRecord> getSearchRecordList();
}